<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<%
String name=request.getParameter("userName");

session.setAttribute("name", name);

%>

<%="您的名字是:"+new String(name.getBytes("ISO-8859-1"),"utf-8")%>

<form action="showEnd.jsp" method="post">
<pre>

最想去的地点:<input type="text" name="where">

<a href="showEnd.jsp"><input type="submit" ></a>

</pre>

</form>



</body>
</html>